package com.platform.api.bzproject.model;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.time.LocalDateTime;
import java.util.Date;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 提现表
 * </p>
 *
 * @author guoshao
 * @since 2022-01-02
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("tz_withdrawal_details")
public class WithdrawalDetails extends Model {

    private static final long serialVersionUID = 1L;

    private Long id;

    /**
     * 用户id
     */
    private String userId;

    /**
     * 账户信息ID
     */
    private Long collectionId;

    /**
     * 提现金额
     */
    private BigDecimal money;

    /**
     * 实际打款金额
     */
    private BigDecimal actualMoney;

    /**
     * 申请时间
     */
    private Date applyTime;

    /**
     * 审核时间
     */
    private Date auditTime;

    /**
     * 打款时间
     */
    private Date payTime;

    /**
     * 状态：1-审核中；2-审核通过 ；3-审核不通过
     */
    private Integer status;

    /**
     * 备注
     */
    private String remark;

    /**
     * 平台佣金抽取比例
     */
    private BigDecimal platformRate;

    /**
     * 流水号
     */
    private String flowNo;

    /**
     * 税费
     */
    private BigDecimal taxrate;


}
